package com.stormrage.entity.adm;

import java.io.Serializable;

public class AdmAcctRes implements Serializable {

	// ------------------------------ Fields ------------------------------

	private static final long serialVersionUID = 431735029519152475L;

	// ------------------------------ Fields ------------------------------

	private Integer id;

	private Integer acctId;

	private Integer resId;

	// ------------------------------ Fields ------------------------------

	public AdmAcctRes() {
	}

	// ------------------------------ Fields ------------------------------

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getAcctId() {
		return acctId;
	}

	public void setAcctId(Integer acctId) {
		this.acctId = acctId;
	}

	public Integer getResId() {
		return resId;
	}

	public void setResId(Integer resId) {
		this.resId = resId;
	}

	// ------------------------------ Fields ------------------------------

	public static AdmAcctRes instance(Integer acctId, Integer resId) {
		AdmAcctRes entity = new AdmAcctRes();
		entity.setAcctId(acctId);
		entity.setResId(resId);
		return entity;
	}

	@Override
	public String toString() {
		return this.getClass() + " : id - " + id + " acctId - " + acctId + " resId - " + resId;
	}

}
